<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * index.php
 * @author ranuandra
 *
 * 8 Mar 2012 14:50:03
 *
 * 
 */
?>

          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <?php 
            if(Auth_ORM::instance()->logged_in())
            {
            
           ?>
	        <div class="btn-group pull-right">
	            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
	                <i class="icon-user"></i><?php ?>
	                <?php echo Auth_ORM::instance()->get_user()->mstpelamar->nama_lengkap?>
	                <span class="caret"></span>
	            </a>
	            <ul class="dropdown-menu">
	                <li><a href="<?php echo URL::base()?>user">Profile</a></li>
	                <li><a href="<?php echo URL::base()?>user/logout">Logout</a></li>
	            </ul>
	        </div>
           	<?php 
            }
            ?>
          <a class="brand" href="<?php echo URL::base()?>">Nasmoco Karir</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
            <?php 
            if(Request::current()->action() == "index")
            {
            ?>
              <li class="active">
            <?php 
            }
            else 
            {
            ?>
              <li class="">
            <?php 
            }
            ?>
                <a href="<?php echo URL::base()?>">Home</a>
              </li>
            <?php 
            if(Request::current()->action() == "lowongan")
            {
            ?>
              <li class="active">
            <?php 
            }
            else 
            {
            ?>
              <li class="">
            <?php 
            }
            ?>
                <a href="<?php echo URL::base()?>lowongan">Lowongan</a>
              </li>

            <?php 
            if(Request::current()->action() == "register")
            {
            ?>
              <li class="active">
            <?php 
            }
            else 
            {
            ?>
              <li class="">
            <?php 
            }
            ?>
                <a href="<?php echo URL::base()?>home/register">Registrasi</a>
              </li>
            <?php 
            if(Request::current()->action() == "kontak")
            {
            ?>
              <li class="active">
            <?php 
            }
            else 
            {
            ?>
              <li class="">
            <?php 
            }
            ?>
                <a href="<?php echo URL::base()?>home/kontak">Kontak</a>
              </li>
              <li>
              	<a href="<?php echo URL::base()?>pengumuman">Hasil Test</a>	
              </li>
            </ul>
			<div class="pull-right btn-group">
				<a href="www.facebook.com"><img src="<?php echo URL::base()?>assets/images/facebook.png" /></a>
				<a href="www.twitter.com"><img src="<?php echo URL::base()?>assets/images/twitter.png" /></a>
			</div>
          </div>

